//
// Created by lain on 24-10-23.
//

#ifndef QUEUE_H
#define QUEUE_H

#define QUEUE_SIZE 5


typedef struct Queue {
private:
    int item[QUEUE_SIZE];
    int front;
    int rear;
public:
    Queue();
    bool QueueIsEmpty() const;
    bool QueueIsFull() const;
    void enterQueue(const int& e);
    void leaveQueue(int&e);
    void clearQueue();
    void getHead(int& e) const;
}queue;




#endif //QUEUE_H
